package com.buddy.qreport.template;

import com.buddy.qreport.template.tpls.ReportDisplayType;

import java.util.List;

public interface IReportTemplate {





    String getName();

    String getDescription();

    String getDemoJs();

    default ReportDisplayType getDisplayType(){

        return ReportDisplayType.CHART;
    }

    default String getTemplateOptionJs(){
        return "function(style,relativeConfig,data){}";
    }


    List<ReportDataDimension> getDataDimensions();


    String TYPE_NAME_TABLE = "表格";


    String TYPE_NAME_PIE = "饼图";


    String TYPE_NAME_LINE = "折线图";


    String TYPE_NAME_BAR = "柱状图";


}
